home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / inventor / ivcalc / README < prev    next >
Encoding:
Text File  |  1994-08-02  |  2.4 KB  |  53 lines

  1.  
  2.                 toolbox/src/exampleCode/inventor/ivcalc README
  3.  
  4.  
  5.     ivcalc - a 3D calculator built with the Inventor graphics toolkit
  6.  
  7.     ivcalc is a full function infix calculator.  In the default operation
  8.     ivcalc comes up as a simple four function calculator.  Pressing the 
  9.     SGI button expands ivcalc into a full function scientific calculator.
  10.  
  11.     NOTE: ivcalcDeluxe.sh 
  12.     The application uses an Inventor provided viewer.  This viewer has many 
  13.     useful features built-in for manipulating the object, changing certain 
  14.     rendering parameters, etc.  Basically a subset of the SceneViewer 
  15.     functinality.  In order to spin and view the calculator in different
  16.     orientations press the the rightmost mousebutton (MB3) and select Viewing.
  17.     The cursor now changes into a hand and by using MB1/MB2 you
  18.     can rotate/translate the calculator.  In order to use the calculator again
  19.     you need to turn off viewing by selecting it in the MB3 popup menu.  You
  20.     can toggle between these two modes by using the ESC key as well.
  21.     
  22.     There are several command line options available for enhancing the 
  23.     appearance and functionality of the calculator.  
  24.  
  25.       % ivcalc -help
  26.     usage:    [-options ...]
  27.     where options include:
  28.         -niceBtns   rounded buttons
  29.         -niceBase   rounded base
  30.         -textures   apply textures to buttons and base
  31.         -outputFile write out Inventor scenegraph to calc.iv
  32.         -thickText  3D text with exagerated depth
  33.         -audio      button sounds, etc
  34.         -kbdAnimate buttons are animated when kbd input used
  35.         -maxWhizzy  turn on all extra enhancements (except kbdAnimate)
  36.             this option is only intended to be used on machines
  37.             with hi-end graphics with texture hardware in place.
  38.         -help       print this usage message
  39.  
  40.  
  41.  
  42.     The default locations for the filenames for the option features like 
  43.     audio, texture mapping and modeled components are set as fallback 
  44.     resources to point to the current directory.  If you want to have ivcalc
  45.     executable from anywhere you should modify the IVcalc resource file
  46.     entries to point to where you intend to install them.  There are commented
  47.     out entries with default system locations for those files as a suggestion.
  48.  
  49.     Also included in this directory is an icon for the calculator, ivcalc.icon.
  50.     Copy this file into /usr/lib/images if you want ivcalc to use this icon
  51.     when the application is iconified.
  52.     
  53.